* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
}

.container {
  width: 400px;
  padding: 20px;
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

h1 {
  text-align: center;
  margin-bottom: 20px;
  color: #d9534f;
  font-size: 22px;
}

h2 {
  font-size: 18px;
  margin: 15px 0 10px;
  color: #555;
}

.form-group {
  margin-bottom: 15px;
}

label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  font-size: 14px;
}

input, select {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

input:focus, select:focus {
  outline: none;
  border-color: #d9534f;
}

.actions {
  display: flex;
  justify-content: space-between;
  margin: 20px 0;
}

button {
  padding: 8px 15px;
  border: none;
  border-radius: 4px;
  background-color: #d9534f;
  color: white;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s;
}

button:hover {
  background-color: #c9302c;
}

button:disabled {
  background-color: #f0ad4e;
  cursor: not-allowed;
}

.preview-container {
  text-align: center;
  margin: 20px 0;
}

.seal-preview {
  margin: 0 auto;
  padding: 15px;
  background-color: #f9f9f9;
  border: 1px dashed #ddd;
  display: inline-block;
}

canvas {
  display: block;
  background-color: white;
}

.config-panel {
  margin-top: 20px;
}

#configBtn {
  background-color: #5bc0de;
  width: 100%;
}

#configBtn:hover {
  background-color: #46b8da;
}

#configOptions {
  margin-top: 15px;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: #f5f5f5;
} 